3.15 \(\int \frac {\cos (\frac {1}{4}+x+x^2)}{x^2} \, dx\)

Optimal. Leaf size=56 \[ -\text {Int}\left (\frac {\sin \left (x^2+x+\frac {1}{4}\right )}{x},x\right )-\sqrt {2 \pi } S\left (\frac {2 x+1}{\sqrt {2 \pi }}\right )-\frac {\cos \left (x^2+x+\frac {1}{4}\right )}{x} \]

[Out]

-cos(1/4+x+x^2)/x-FresnelS(1/2*(1+2*x)*2^(1/2)/Pi^(1/2))*2^(1/2)*Pi^(1/2)-Unintegrable(sin(1/4+x+x^2)/x,x)

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \int \frac {\cos \left (\frac {1}{4}+x+x^2\right )}{x^2} \, dx \]

Verification is Not applicable to the result.

[In]

Int[Cos[1/4 + x + x^2]/x^2,x]

[Out]

-(Cos[1/4 + x + x^2]/x) - Sqrt[2*Pi]*FresnelS[(1 + 2*x)/Sqrt[2*Pi]] - Defer[Int][Sin[1/4 + x + x^2]/x, x]

Rubi steps

\begin {align*} \int \frac {\cos \left (\frac {1}{4}+x+x^2\right )}{x^2} \, dx &=-\frac {\cos \left (\frac {1}{4}+x+x^2\right )}{x}-2 \int \sin \left (\frac {1}{4}+x+x^2\right ) \, dx-\int \frac {\sin \left (\frac {1}{4}+x+x^2\right )}{x} \, dx\\ &=-\frac {\cos \left (\frac {1}{4}+x+x^2\right )}{x}-2 \int \sin \left (\frac {1}{4} (1+2 x)^2\right ) \, dx-\int \frac {\sin \left (\frac {1}{4}+x+x^2\right )}{x} \, dx\\ &=-\frac {\cos \left (\frac {1}{4}+x+x^2\right )}{x}-\sqrt {2 \pi } S\left (\frac {1+2 x}{\sqrt {2 \pi }}\right )-\int \frac {\sin \left (\frac {1}{4}+x+x^2\right )}{x} \, dx\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 12.21, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (\frac {1}{4}+x+x^2\right )}{x^2} \, dx \]

Verification is Not applicable to the result.

[In]

Integrate[Cos[1/4 + x + x^2]/x^2,x]

[Out]

Integrate[Cos[1/4 + x + x^2]/x^2, x]

________________________________________________________________________________________

fricas [A]  time = 0.77, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\cos \left (x^{2} + x + \frac {1}{4}\right )}{x^{2}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(1/4+x+x^2)/x^2,x, algorithm="fricas")

[Out]

integral(cos(x^2 + x + 1/4)/x^2, x)

________________________________________________________________________________________

giac [A]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (x^{2} + x + \frac {1}{4}\right )}{x^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(1/4+x+x^2)/x^2,x, algorithm="giac")

[Out]

integrate(cos(x^2 + x + 1/4)/x^2, x)

________________________________________________________________________________________

maple [A]  time = 0.11, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (\frac {1}{4}+x +x^{2}\right )}{x^{2}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(1/4+x+x^2)/x^2,x)

[Out]

int(cos(1/4+x+x^2)/x^2,x)

________________________________________________________________________________________

maxima [A]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (x^{2} + x + \frac {1}{4}\right )}{x^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(1/4+x+x^2)/x^2,x, algorithm="maxima")

[Out]

integrate(cos(x^2 + x + 1/4)/x^2, x)

________________________________________________________________________________________

mupad [A]  time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {\cos \left (x^2+x+\frac {1}{4}\right )}{x^2} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(x + x^2 + 1/4)/x^2,x)

[Out]

int(cos(x + x^2 + 1/4)/x^2, x)

________________________________________________________________________________________

sympy [A]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos {\left (x^{2} + x + \frac {1}{4} \right )}}{x^{2}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(1/4+x+x**2)/x**2,x)

[Out]

Integral(cos(x**2 + x + 1/4)/x**2, x)

________________________________________________________________________________________